package com.hxtec.polaris.service;

import org.springframework.web.multipart.MultipartFile;

import javax.servlet.http.HttpServletRequest;

/**
 * @Author yonyong
 * @Description //文件服务
 * @Date 2019/12/18 14:37
 * @Param
 * @return
 **/
public interface FileService {

    /**
     * 上传分类图片
     * @param img
     * @param request
     * @return
     */
    Object uploadCategoryImage(MultipartFile img, HttpServletRequest request);

    /**
     * 上传轮播图图片
     * @param file
     * @param request
     * @return
     */
    Object uploadCarouseImage(MultipartFile file, HttpServletRequest request);
}
